package com.blog.service;

import com.blog.entity.Cert;
import com.baomidou.mybatisplus.service.IService;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author mars123
 * @since 2019-07-02
 */
public interface CertService extends BaseService<Cert> {

    List<Cert> getCertsByUid(Integer id);

    boolean addProduct(HttpSession session, Cert cert);

    boolean removeProduct(HttpSession session, Integer id);
}
